﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.Model
{
    [Table("LevelInfo")]
    public class LevelModel
    {
        /// <summary>
        /// 会员等级Id
        /// </summary>
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// 会员等级名称
        /// </summary>
        public string LName { get; set; }   
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime Update {  get; set; } = new DateTime();
        /// <summary>
        /// 逻辑删除 1有 0删除
        /// </summary>
        public int IsNo { get; set; } = 1;
    }
}
